@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Muli&display=swap');


* {
  box-sizing: border-box;
}

body {
  font-family: 'Muli', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
}

.nav-btn {
  background-color: transparent;
  font-size: 20px;
  border: 0;
  cursor: pointer;
}

.open-btn {
  position: fixed;
  top: 10px;
  left: 10px;
}

.logo {
  width: 200px;
}

.text {
  text-transform: uppercase;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  transform: translateX(-100%);
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
}

.nav-black {
  width: 60%;
  height: 100%;
  background-color: rgb(34, 31, 31);
  max-width: 480px;
  min-width: 320px;
  transition-delay: .4s;
}

.nav-black.visible {
  transition-delay: 0s;

}

.nav-red {
  width: 95%;
  height: 100%;
  background-color: rgb(229, 9, 20);
  transition-delay: .2s;
}

.nav-red.visible {
  transition-delay: 0.2s;
}

.nav-white {
  width: 95%;
  height: 100%;
  background-color: #fff;
  padding: 40px;
  position: relative;
  transition-delay: 0s;
}

.nav-white.visible {
  transition-delay: .4s;
}

.visible {
  transform: translateX(0);
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
}

.nav-white .close-btn {
  position: absolute;
  right: 30px;
  top: 40px;
  opacity: 0.3;
}

.nav-white ul {
  list-style-type: none;
  padding: 0;
}

.nav-white ul li {
  margin: 20px 0;
}

.nav-white ul li a {
  text-decoration: none;
  text-transform: uppercase;
  color: rgb(34, 31, 31);
  font-size: 14px;
}

.nav-white .list ul {
  padding-left: 20px;
}